<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="ln"></div>
    <script src="./src/react.js"></script>
    <script src="./src/react-dom.js"></script>
    <script src="./src/babel.js"></script>
    <script type="text/babel">
        let str = "錦木千束"
        let str1 = "井上泷奈"
        function rev(s) {
            return s.split('').reverse().join('')
        }
        let h1Dom = (
            <div>
                <h1>{str}</h1>
                <h1>{str1}</h1>
                <h1>{str + str1}</h1>
                <h2>{1 + '2'}</h2>
                <h2>{1 + 2}</h2>
                <h2>{rev(str1)}</h2>
                <h2>{rev(str + str1)}</h2>
            </div>)
        ReactDOM.render(
            h1Dom,
            document.getElementById('ln')
        )


    </script>
</body>

</html>